Wtpdf\Banners\Wt_GDPR_Cta_Banner A

Total Complexity 64
Dependencies 0
Dependents 0
Total lines 421
Lines of code 206
Logical lines of code 99
Comment lines 147
Methods 14
Properties 7

Methods 14

Method Rating Maintainability Complexity Lines of code
should_show_banner()
B
47 17 32
is_selling_to_eu_or_us()
A
50 10 29
is_store_in_eu_or_us()
S
61 6 11
get_eu_countries_list()
S
60 5 10
dismiss_banner()
S
60 4 13
enqueue_scripts()
S
54 3 24
render_banner_notice()
S
52 2 31
init_banner()
S
62 3 12
is_any_gdpr_plugin_active()
S
68 3 8
is_plugin_active_anywhere()
S
63 3 10
should_comply_with_gdpr()
S
71 3 6
is_clarity_active()
S
71 2 6
set_banner_contents()
S
65 2 9
__construct()
S
72 1 5